package form;

import javax.servlet.http.HttpServletRequest;

import org.apache.struts.action.ActionErrors;
import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;
import org.apache.struts.upload.FormFile;

public class FileUploadForm extends ActionForm {
    
    private FormFile file;
    private String fileDesc;
    
    public ActionErrors validate(ActionMapping mapping,
            HttpServletRequest request) {
        
        ActionErrors errors = new ActionErrors();
        return errors;
    }

    // getters setters ----------------------------------------------------
    // --------------------------------------------------------------------
    public FormFile getFile() {
        return file;
    }
 
    public void setFile(FormFile file) {
        this.file = file;
    }
    
    public String getFileDesc() {
        return fileDesc;
    }

    public void setFileDesc( String fileDesc ) {
        this.fileDesc = fileDesc;
    }
    
   

}

